package com.sihai.ehr.web.pojo;

import com.sihai.ehr.model.biz.Duty;
import com.sihai.ehr.model.sys.ExaminePeriodEnum;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

/**
 * author: wxn since: 12-10-10 Time: 下午6:52
 */
public class ExamBaseConfigPojo {
	private Duty duty;
	private Long id; // 是否设置
	/** 定性百分比率 */
	private Float percentageQualitative;

	/** 定量百分比率 */
	private Float percentageQuantitative;

	/** 绩效考核占用百分比 */
	private Float percentagePerformance;

	/** 考核周期类型 */
	private ExaminePeriodEnum periodType;
	/** 组织结构名称 */
	private String organizeName;
	/** 职位名称 */
	private String dutyName;

	/** 岗位实际人数 */
	private Integer actualNumber;

	public ExamBaseConfigPojo() {

	}

	public ExamBaseConfigPojo(Duty duty, Long id, Float percentageQualitative,
			Float percentageQuantitative, Float percentagePerformance,
			ExaminePeriodEnum periodType) {
		this.duty = duty;
		this.id = id;
		this.percentageQualitative = percentageQualitative;
		this.percentageQuantitative = percentageQuantitative;
		this.percentagePerformance = percentagePerformance;
		this.periodType = periodType;
	}

	public ExamBaseConfigPojo(Long id, String organizeName, String dutyName,
			Float percentagePerformance, Float percentageQualitative,
			Float percentageQuantitative, ExaminePeriodEnum periodType,
			Integer actualNubmer) {
		this.id = id;
		this.organizeName = organizeName;
		this.dutyName = dutyName;
		this.percentagePerformance = percentagePerformance;
		this.percentageQualitative = percentageQualitative;
		this.percentageQuantitative = percentageQuantitative;
		this.periodType = periodType;
		this.actualNumber = actualNubmer;
	}

	public Duty getDuty() {
		return duty;
	}

	public void setDuty(Duty duty) {
		this.duty = duty;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Float getPercentageQualitative() {
		return percentageQualitative;
	}

	public void setPercentageQualitative(Float percentageQualitative) {
		this.percentageQualitative = percentageQualitative;
	}

	public Float getPercentageQuantitative() {
		return percentageQuantitative;
	}

	public void setPercentageQuantitative(Float percentageQuantitative) {
		this.percentageQuantitative = percentageQuantitative;
	}

	public Float getPercentagePerformance() {
		return percentagePerformance;
	}

	public void setPercentagePerformance(Float percentagePerformance) {
		this.percentagePerformance = percentagePerformance;
	}

	public ExaminePeriodEnum getPeriodType() {
		return periodType;
	}

	public void setPeriodType(ExaminePeriodEnum periodType) {
		this.periodType = periodType;
	}

	public String getOrganizeName() {
		return organizeName;
	}

	public void setOrganizeName(String organizeName) {
		this.organizeName = organizeName;
	}

	public String getDutyName() {
		return dutyName;
	}

	public void setDutyName(String dutyName) {
		this.dutyName = dutyName;
	}

	public Integer getActualNumber() {
		return actualNumber;
	}

	public void setActualNumber(Integer actualNumber) {
		this.actualNumber = actualNumber;
	}
}
